package com.oath2reource.controller;

import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * <h3>oath2Reource</h3>
 * <p>测试</p>
 *
 * @author gdw
 * @since 2024-07-05 11:05:54
 */
@RestController("/api")
public class HelloController {

    @PostMapping("/api/hi")
    public String say(String name) {
        return "hi , " + name;
    }

}
